package com.liu.design.behavior.strategy.simple;

/**
 * @author LIU
 * @version 1.0
 * @description: TODO
 * @date 2022/12/19 21:10
 */
public class TeamGNR {

    private GameStrategy gameStrategy;


    public void setGameStrategy(GameStrategy gameStrategy) {
        this.gameStrategy = gameStrategy;
    }

    public void  startGame(){
        System.out.println("游戏开始");

        gameStrategy.warStrategy();

        System.out.println("游戏结束");
    }
}
